/**
 * @fileoverview all about user login and authentication
 * @author rudin harianto
 * @version 2011-12-03 0.0.1 alpha
 */
goog.provide('tauge.user.LoginInformation');

/**
 * @constructor
 */
tauge.user.LoginInformation = function(opt_username, opt_password, opt_token){
	this.username_ = opt_username||'';
	this.password_ = opt_password||'';
	this.token_ = opt_token||0;
	
	if(this.token_==0)
	{
		//read from cookies
	}
};

/**
 * @private
 */
tauge.user.LoginInformation.prototype.username_ = null;
/**
 * @private
 */
tauge.user.LoginInformation.prototype.password_ = null;
/**
 * @private
 */
tauge.user.LoginInformation.prototype.token_ = null;

/**
 * @return {boolean}
 */
tauge.user.LoginInformation.login = function(){
	
};

/**
 * @return {boolean}
 */
tauge.user.LoginInformation.logout = function(){
	this.username_ = '';
	this.token_ = 0;
	
	//set cookies
	
};

